package com.lfnyxy.dao;

import com.lfnyxy.entity.ClientUserEntity;
import com.lfnyxy.query.ClientUserQuery;
import com.lfnyxy.vo.ClientUserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by ted on 17/5/8.
 */
public interface ClientUserDao {
    int CreateItem(ClientUserEntity entity);

    int UpdateItem(ClientUserEntity entity);

    List <ClientUserVo> QueryPageList(ClientUserQuery query);

    List <ClientUserEntity> QueryAll();

    int QueryPageListCount(ClientUserQuery query);

    int CheckIsExist(ClientUserEntity entity);

    ClientUserEntity QueryItem(int Id);

    int DeleteItem(int Id);

    ClientUserEntity QueryItemByAccount(String account);
}